package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.system.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysRoleMapper {
    List<SysRole> selectPageByKeyword(String keyword);

    void deleteById(Long id);

    void save(SysRole sysRole);

    SysRole selectById(Long id);

    void updateById(SysRole sysRole);

    List<SysRole> selectAllRolesByUserId(Long userId);
}
